package com.acce.gxsc.common;

import com.acce.gxsc.model.loaclBean.CompanyBean;
import com.acce.sdk.BaseConstants;
import com.acce.sdk.base.main.Category;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by yangjian on 2017/3/3.
 */

public class Constants extends BaseConstants {
    public static final String            SUPERVISION_GATE_NO = "501";
    public static final String            OUT_CAR_GATE_NO     = "401";
    public static       List<Category>    categoryList        = new ArrayList<>();
    public static final List<CompanyBean> companyList         = new ArrayList<>();
    public static final int               ID_0                = 0, ID_1 = 1, ID_2 = 2, ID_3 = 3, ID_4 = 4, ID_5 = 5, ID_6 = 6, ID_7 = 7,ID_8=8;
    public static final Map<String, String> GATE_LIST = new HashMap<>();

    static {
        GATE_LIST.put("101", "1#门登记处");
        GATE_LIST.put("201", "进口区登记处");
        GATE_LIST.put("301", "进口区缴费通知");
        GATE_LIST.put("310", "进口区收费处");
        GATE_LIST.put("401", "进口区离场检查");
        GATE_LIST.put("501", "市场监察部");
        GATE_LIST.put("601", "财务部");
        GATE_LIST.put("701", "行政部");
        GATE_LIST.put("801", "信息部");
        GATE_LIST.put("901", "总裁办");
    }

    public class Key {
        public static final String CATEGORY_ID = "category_id";
        public static final String PAGE_ID     = "page_id";
        public static final String IS_SELECT   = "is_select";
    }

    public static Map<Integer, String> chargeTypeHash = new HashMap<>();

    static {
        chargeTypeHash.put(0, "按天计费");
        chargeTypeHash.put(1, "按月计费");
        chargeTypeHash.put(2, "按吨计费");
    }

    public static final String WX_APP_ID          = "wx76c99251f28c1316";
    public static final String WX_PARTNER_ID      = "1386290502";
    public static final String WX_API_KEY         = "duxlQbk2ugpgIWGDWmKyOvUVEh3RVrzo";
    public static final String WX_PLACE_ORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";

    public class Url {
        public static final String IO_CARD = "https://www.accecard.com/api/iocar";
    }

    public class ServiceCode {
        public static final String LOAD_WORK                 = "100101";
        public static final String START_WORK                = "100102";
        public static final String WORK_AGAIN                = "100103";
        public static final String WORK_LIST                 = "100104";
        public static final String EDIT_CAR                  = "100217";
        public static final String END_WORK                  = "100111";
        public static final String LOAD_GOODS_LIST           = "100130";
        public static final String REGISTER_CAR              = "100201";
        public static final String LOAD_REGISTER_CAR_LIST    = "100203";
        public static final String LOAD_COMPANY_LIST         = "100205";
        public static final String LOAD_REGISTER_CAR_DETAIL  = "100204";
        public static final String IN_ROOM                   = "100206";
        public static final String LOAD_IN_CAR_LIST          = "100207";
        public static final String LOAD_IN_CAR_DETAIL        = "100208";
        public static final String DELETE_ORDER              = "100209";
        public static final String DELETE_IN_ORDER           = "100211";
        public static final String LOAD_IN_CAR_FORM          = "100105";
        public static final String FEE_CAR_DETAIL            = "100212";
        public static final String TO_OUT_CAR_DETAIL         = "100122";
        public static final String QUERY_OUT_CAR_COUNT       = "100133";
        public static final String QUERY_OUT_CAR_LIST        = "100134";
        public static final String QUERY_OUT_CAR_LIST2       = "100508";
        public static final String TO_OUT_CAR                = "100502";
        public static final String LOAD_OUT_CAR_FORM         = "100503";
        public static final String LOAD_BATCH_LIST           = "100213";
        public static final String LOAD_OUT_CAR_LIST         = "100505";
        public static final String LOAD_POSITION_LIST        = "100108";
        public static final String SUPERVISION_CAR           = "100618";
        public static final String LOAD_BATCH_DETAIL         = "100506";
        public static final String GET_TIME                  = "100507";
        public static final String LOAD_SUPERVISION_HANDOVER = "100619";
        public static final String LOAD_SUPERVISION_HANDOVER_LIST = "100621";
        public static final String MAKEUP_CAR                = "100620";
    }
}
